<?php



class CreditoMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.CreditoMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('sindes');

		$tMap = $this->dbMap->addTable('credito');
		$tMap->setPhpName('Credito');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('CP_CREDITO', 'CpCredito', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('CF_BENEFICIO_ESTUDIANTE', 'CfBeneficioEstudiante', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('TASA_INTERES', 'TasaInteres', 'int', CreoleTypes::TINYINT, true, null);

		$tMap->addColumn('NUMERO_CUOTAS', 'NumeroCuotas', 'int', CreoleTypes::TINYINT, true, null);

		$tMap->addColumn('FECHA_GRADO', 'FechaGrado', 'int', CreoleTypes::DATE, true, null);

		$tMap->addColumn('CF_FIADOR', 'CfFiador', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('ESTATUS', 'Estatus', 'string', CreoleTypes::CHAR, true, 1);

	} 
} 